package com.itheima.reggie.dto;

import com.itheima.reggie.domian.Dish;
import com.itheima.reggie.domian.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜品Dto
 */
@Data
public class DishDto extends Dish {
    //继承Dish  菜品信息都有
    private List<DishFlavor> flavors = new ArrayList<>(); //菜品口味关系

    private String categoryName; //菜品分类名称

    private Integer copies;
}
